package appapi.entity.Zhongjiao;

import appapi.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @author  djq
 * @date 2023/5/25 9:53
 * @description: 
 */

/**
 * 设备安拆信息表
 */
@ApiModel(value = "设备安拆信息表")
@Data
public class EquipmentdismantDto extends BaseEntity {
    /**
     * 记录ID
     */
    @ApiModelProperty(value = "记录ID")
    private Long dismId;

    /**
     * 安拆类型
     */
    @ApiModelProperty(value = "安拆类型")
    private Long dismType;

    /**
     * 设备id
     */
    @ApiModelProperty(value = "设备id")
    private Long equipId;

    /**
     * 加节数
     */
    @ApiModelProperty(value = "加节数")
    private Integer dismNum;

    /**
     * 安装高度
     */
    @ApiModelProperty(value = "安装高度")
    private Long dismHigh;

    /**
     * 安装单位
     */
    @ApiModelProperty(value = "安装单位")
    private String dismCompany;

    /**
     * 安装日期
     */
    @ApiModelProperty(value = "安装日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date dismDate;

    /**
     * 0-是;1否
     */
    @ApiModelProperty(value = "0-是;1否")
    private Integer dismSidestation;

    /**
     * 0-已验收;1-未验收
     */
    @ApiModelProperty(value = "0-已验收;1-未验收")
    private Integer dismResult;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String dismNote;

    /**
     * 操作人
     */
    @ApiModelProperty(value = "操作人")
    private String operName;


    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createDate;


    /**
     * 附件地址
     */
    @ApiModelProperty(value = "附件地址")
    private List<String> annexUrl;


    private String createUser;
}